package com.group.medical.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 药店
 * @TableName tb_drugstore
 */
@TableName(value ="tb_drugstore")
@Data
public class Drugstore implements Serializable {
    /**
     * 药店id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 药店名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 药店介绍
     */
    @TableField(value = "introduce")
    private String introduce;

    /**
     * 位置
     */
    @TableField(value = "location")
    private String location;

    /**
     * 联系电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 评分 初始评分5
     */
    @TableField(value = "score")
    private BigDecimal score;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}